home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat1 / kats.z / kats
Encoding:
Text File  |  2001-04-17  |  6.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4.      KKKKAAAATTTTSSSS((((1111))))         KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((00002222////22224444////00000000 11110000....2222))))         KKKKAAAATTTTSSSS((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           kats, kscp, ksmv, ksrm -  K-AShare File Manipulation
  10.           Utilities
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           kkkkaaaattttssss [ ----sssscccciiiippppSSSSbbbb ] [ ----TTTTCCCC _t_y_p_e ] [ _f_i_l_e_n_a_m_e ... ]
  14.           kkkkaaaattttssss ----oooo [ _d_i_r_n_a_m_e ]
  15.           kkkkssssccccpppp _f_i_l_e_1 [ _f_i_l_e_2 ...  ] _t_a_r_g_e_t
  16.           kkkkssssmmmmvvvv _f_i_l_e_1 [ _f_i_l_e_2 ...  ] _t_a_r_g_e_t
  17.           kkkkssssrrrrmmmm _f_i_l_e ...
  18.  
  19.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  20.           These routines let you copy, delete, move and set AppleShare
  21.           attributes for K-AShare files.
  22.  
  23.           K-AShare stores AppleShare specific information, such as
  24.           file Type and Creator and the resource fork, in several
  25.           utility files. This information will be lost if you use
  26.           _c_p(_1), _m_v(_1) and _r_m(_1), to move K-AShare files around a unix
  27.           filesystem.  If you use _k_s_c_p, _k_s_m_v, and _k_s_r_m, the AppleShare
  28.           info will be moved or deleted as necessary.
  29.  
  30.           _K_a_t_s is an administrative program used to view and set
  31.           various AppleShare file attributes, including the invisible
  32.           and copy-protected attributes and the Type and Creator
  33.           fields.  _I_n_v_i_s_i_b_l_e files and directories  will not be
  34.           visible to Appleshare clients. The Macintosh finder will
  35.           refuse to copy _c_o_p_y-_p_r_o_t_e_c_t_e_d files.  Directories cannot be
  36.           copy protected.
  37.  
  38.           When no options are supplied, _k_a_t_s prints out information
  39.           either about the specified files or all files in the current
  40.           directory if no files are specified.
  41.  
  42.           The attributes are in the .HSancillary file rather than in
  43.           the file itself.  Only the owner of files and root are
  44.           allowed to change attributes.
  45.  
  46.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  47.           ----ssss   Set the requested attributes.  This is the default.
  48.  
  49.           ----cccc   Clear the requested attributes.
  50.  
  51.           ----iiii   Make the file invisible.
  52.  
  53.           ----bbbb   The file has a bundle.
  54.  
  55.           ----SSSS   The file can be shared.
  56.  
  57.           ----llll   The file is locked.
  58.  
  59.           ----oooo   Check for and delete "orphaned" resource forks from
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 5/4/100)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      KKKKAAAATTTTSSSS((((1111))))         KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((00002222////22224444////00000000 11110000....2222))))         KKKKAAAATTTTSSSS((((1111))))
  71.  
  72.  
  73.  
  74.                _d_i_r_n_a_m_e (or the current directory if _d_i_r_n_a_m_e is
  75.                absent).  Orphaned resource forks are .HSResource
  76.                directory entries that have no corresponding data
  77.                files.  Theses files will not appear in K-AShare
  78.                volumes. They can crop up when users use _c_p, _m_v and _r_m
  79.                instead of _k_s_c_p, _k_s_m_v, and _k_s_r_m to manipulate K-AShare
  80.                files.  This option has been superceded by the
  81.                _d_t_r_e_b_u_i_l_d(1m) ----cccclllleeeeaaaannnn option.
  82.  
  83.           ----pppp   Copy protect the file.
  84.  
  85.           ----TTTT _t_y_p_e
  86.                Change the Macintosh file type.
  87.  
  88.           ----CCCC _t_y_p_e
  89.                Change the Macintosh file creator.
  90.  
  91.      FFFFIIIILLLLEEEESSSS
  92.           */.HSancillary                File for additional file
  93.                                         information needed by
  94.                                         Macintosh.
  95.  
  96.           */.HSResource/*               Directory for storing the
  97.                                         resource fork of files
  98.  
  99.      EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  100.           Print information about all files in the current directory:
  101.                kats
  102.  
  103.           Make the file _f_o_o copy-protected:
  104.                kats -ps foo
  105.  
  106.           Make the file _f_o_o a TeachText file:
  107.                kats -T TEXT -C ttxt foo
  108.  
  109.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  110.           _K-_A_S_h_a_r_e _A_d_m_i_n_i_s_t_r_a_t_o_r'_s _G_u_i_d_e
  111.           _k_s_d(1m)
  112.  
  113.      CCCCAAAAVVVVEEEEAAAATTTTSSSS
  114.           Once files are typed by K-AShare, the _f_i_l_e_t_y_p_e(5) database
  115.           will not be consulted.  If you change the rules for typing a
  116.           particular type of file, it will not change the type of
  117.           already existing files of that type.  The _k_a_t_y_p_e(1) program
  118.           can be used to check the validity of your _f_i_l_e_t_y_p_e(5)
  119.           database.  _K_a_t_s shows you the files as K-AShare currently
  120.           has them typed.
  121.  
  122.      BBBBUUUUGGGGSSSS
  123.           _K_a_t_s normally should be run in the directory where the
  124.           specified files resides (although if one of the _f_i_l_e_n_a_m_e
  125.           args has a pathname component, _K_a_t_s will change to that
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 5/4/100)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      KKKKAAAATTTTSSSS((((1111))))         KKKK----AAAASSSShhhhaaaarrrreeee bbbbyyyy XXXXiiiinnnneeeetttt ((((00002222////22224444////00000000 11110000....2222))))         KKKKAAAATTTTSSSS((((1111))))
  137.  
  138.  
  139.  
  140.           directory before processing).
  141.  
  142.           If you are not the super-user and you copy or move files
  143.           that you do not own between different directories, the
  144.           permissions of the resulting files may not be set correctly.
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 5/4/100)
  196.  
  197.  
  198.  
  199.